package com.qf.service;

import com.qf.entity.Book;
import com.qf.utils.Page;

import java.util.List;

/*
杨威
2021/9/13
21:56
*/
public interface BookService {
    int addBook(Book book);
    int deleteBook(int i);
    int updateBook(Book book);
    Book selectById(int i);
    List<Book> selectAllBook();
    long selectCountBook();
    List<Book> selectAllOrderByDateBook();
    List<Book> showAllBookByPage(Page page);
}
